package com.neuedu.service.impl;

import com.neuedu.dao.LoginDao;
import com.neuedu.factory.ClassFactory;
import com.neuedu.service.LoginService;

public class LoginServiceImpl implements LoginService {
    @Override
    public int checkLogin(String username, String password) {
        LoginDao ld = (LoginDao) ClassFactory.createObj("LoginDao");
        int flag = ld.checkLogin(username, password);
        return flag;
    }
}
